//
//  UIScrollView+BNAdd.h
//  CoralDemo
//
//  Created by kevin007 on 2021/4/25.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIScrollView (BNAdd)
/** ScrollView取消延迟响应*/
- (void)bn_cancelDelaysContentTouches;
/**
 Scroll content to top.
 
 @param animated  Use animation.
 */
- (void)bn_scrollToTopAnimated:(BOOL)animated;

/**
 Scroll content to bottom.
 
 @param animated  Use animation.
 */
- (void)bn_scrollToBottomAnimated:(BOOL)animated;

/**
 Scroll content to left.
 
 @param animated  Use animation.
 */
- (void)bn_scrollToLeftAnimated:(BOOL)animated;

/**
 Scroll content to right.
 
 @param animated  Use animation.
 */
- (void)bn_scrollToRightAnimated:(BOOL)animated;
@end

NS_ASSUME_NONNULL_END
